package com.zhangye.test.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zhangye.test.model.ProxyAr;

@Repository
public interface ProxyArMapper {
	
    int deleteByPrimaryKey(Long id);

    int insert(ProxyAr record);

    ProxyAr selectByPrimaryKey(Long id);

    List<ProxyAr> selectAll();

    int updateByPrimaryKey(ProxyAr record);
    
    List<Map<String,Object>> selectByPage(Map<String, Object> param);
    
    List<Map<String,Object>> selectByPageApi(Map<String, Object> param);

    List<ProxyAr> selectByWhere(@Param("where") String where);
    
    ProxyAr selectInfoById(Long Id);
}